package com.richfit.cuba.modular.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * balance-月度进出口计划明细
 * </p>
 *
 * @author Alan
 * @since 2019-03-27
 */
@TableName("BALANCE_MONTHLY_IMPORTS_DETAIL")
public class BalanceMonthlyImportsDetail extends Model<BalanceMonthlyImportsDetail> {

    private static final long serialVersionUID = 1L;

    @TableId
    @TableField("ID")
    private String id;
    /**
     * Monthly master key月计划主键
     */
    @TableField("PLAN_MONTH_ID")
    private String planMonthId;
    /**
     * The date of the plan every day of the month
            当月每一天的计划日期
     */
    @TableField("PLAN_DAY")
    private Date planDay;
    /**
     * ProductionQuantity
            生产数量
     */
    @TableField("QUANTITY")
    private Double quantity;
    /**
     * creator
            创建者
     */
    @TableField("CREATE_BY")
    private String createBy;
    /**
     * Create time
            创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * updater
            更新者
     */
    @TableField("UPDATE_BY")
    private String updateBy;
    /**
     * Update time
            更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * Remarks information
            备注信息
     */
    @TableField("REMARKS")
    private String remarks;
    /**
     * Delete the tag field
            删除标记：0-正常，1-删除
     */
    @TableField("DEL_FLAG")
    private String delFlag;

    @TableField(exist=false)
    private String oilId;
    
    @TableField(exist=false)
    private String contries;

    /**
     * *机构名称
     */
    @TableField(exist = false)
    private String orgName;
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPlanMonthId() {
        return planMonthId;
    }

    public void setPlanMonthId(String planMonthId) {
        this.planMonthId = planMonthId;
    }

    public Date getPlanDay() {
        return planDay;
    }

    public void setPlanDay(Date planDay) {
        this.planDay = planDay;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getOilId() {
		return oilId;
	}

	public void setOilId(String oilId) {
		this.oilId = oilId;
	}

	public String getContries() {
		return contries;
	}

	public void setContries(String contries) {
		this.contries = contries;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	@Override
    protected Serializable pkVal() {
        return id;
    }

    @Override
    public String toString() {
        return "BalanceMonthlyImportsDetail{" +
        ", id=" + id +
        ", planMonthId=" + planMonthId +
        ", planDay=" + planDay +
        ", quantity=" + quantity +
        ", createBy=" + createBy +
        ", createDate=" + createDate +
        ", updateBy=" + updateBy +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", delFlag=" + delFlag +
        "}";
    }
}
